﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DotSpatial.Map;

namespace HuanGis
{
    /// <summary>
    /// 这个类用作所有自定义绘制的基类，包括各种图形
    /// </summary>
   public  class FMapFunctionBase : DotSpatial.Map.MapFunction 
    {

      

       public FMapFunctionBase()
       { 
       }

       public FMapFunctionBase(IMap map)
           : base(map)
       { 
       
       }


       protected void OnShapeAdded(FShape shp)
       {

           this.Parent.AskShapeAdd(shp);

       }


       private MFManager m_Manager;
       public MFManager Parent
       {
           get { return m_Manager; }
           set { m_Manager = value; }
       }


    }
}
